package com.vhall.component.entity.rbac.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * @author dalong
 * @date 2021-05-14 14:26
 */
@Data
public class MenuDeleteReqVO implements Serializable {

    private static final long serialVersionUID = -4997939064433034104L;

    @NotBlank(message = "menu_ids不能为空")
    @ParamName(value = "menu_ids")
    @Pattern(regexp = "^([0-9]*[1-9][0-9]*)(,([0-9]*[1-9][0-9]*))*$", message = "menu_ids参数异常")
    private String menuIds;

    private String token;
}
